import java.util.Random;

public class Rannder {
    public static void main(String[] args) {
        //随机数 Random
        Random random=new Random();
        int i=random.nextInt(100);
        System.out.println("随机数："+i);

        double v=random.nextDouble();

        System.out.println("随机数"+v);
    }
}
